//
//  shenhetuihuiCell.m
//  pacc
//
//  Created by 测试 on 2018/6/21.
//  Copyright © 2018年 测试. All rights reserved.
//

#import "shenhetuihuiCell.h"

@implementation shenhetuihuiCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.contentLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, 30)];
        self.contentLabel.numberOfLines = 0;
        self.contentLabel.textColor = [UIColor blackColor];
        self.contentLabel.font = [UIFont fontWithName:@"Arial" size:12.0f];
        [self addSubview:self.contentLabel];
    }
    
    return self;
}

-(void)setModel:(tuihuimodel *)model{
    self.reviewDesc = model.reviewDesc;
    self.contentLabel.text = self.reviewDesc;
    self.height = model.height;
}
- (void)setFrame:(CGRect)frame
{
    frame.size.height -= 1;
//    frame.origin.y += ZTmargin;
    [super setFrame:frame];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
